<template>
	<view>
		<view class="zdList hasFlex">
			<view class="listImg"></view>
			<view class="listCon">
				<view class="listTit multiEllip clamp2">中小学生此能力健康诊断测验(MHT)</view>
				<view class="pubTime">2023-11-08<text class="till">至</text>2023-12-20</view>
				<view class="botCon spaceBet">
					<view class="cpNum">12325已测</view>
					<view class="cpBtn">去测评</view>
				</view>
			</view>
		</view>
		<view class="zdList hasFlex">
			<view class="listImg"></view>
			<view class="listCon">
				<view class="listTit multiEllip clamp2">中小学生此能力健康诊断测验(MHT)</view>
				<view class="pubTime">2023-11-08<text class="till">至</text>2023-12-20</view>
				<view class="botCon spaceBet">
					<view class="cpNum">12325已测</view>
					<view class="cpBtn overDate">已过期</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		
	}
</script>

<style lang="scss" scoped>
	.zdList{
		background: #fff;
		border-radius: 16rpx;
		padding: 20rpx;
		margin-bottom: 20rpx;
		&:last-child{
			margin-bottom: 0;
		}
		.listCon{
			flex: 1;
			.listTit{
				font-size: 28rpx;
				color: $sq-main0;
				font-weight: 600;
				margin-bottom: 10rpx;
			}
			.pubTime{
				color: $sq-main8;
				font-size: 26rpx;
				margin-bottom: 10rpx;
			}
			.till{
				margin: 0 10rpx;
			}
			.botCon{
				font-size: 24rpx;
				align-items: center;
				.cpNum{
					color: $pss-sq-main-bg;
				}
				.cpBtn{
					padding: 0 20rpx;
					height: 46rpx;
					line-height: 46rpx;
					background: $pss-sq-main-bg;
					border-radius: 8rpx;
					color: #fff;
					&.overDate{
						background: $sq-fue;
						color: $sq-main8;
					}
				}
			}
		}
		.listImg{
			width: 130rpx;
			height: 130rpx;
			background: pink;
			border-radius: 8rpx;
			flex-shrink: 0;
			margin-right: 15rpx;
		}
	}
</style>